#pragma once 
#define SIZE 4096
#define FLLUSHNODE 1
#define FLLUSH_LINE (1<<1)
#define FLLUSHALL (1<<2)
typedef struct _myFILE
{
    int fileno;
    char buffer[SIZE];
    int lenth ;
    int flag;
}myFILE;


extern myFILE *my_fopen(const char* path,const char* mode);
extern myFILE *my_fwrite(const char* s,myFILE*stream);
int my_fflush(myFILE *stream);
int my_fclose(myFILE *stream);


